package jin.si.com.service;

import jin.si.com.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LianXiService {

    //获取用户名字
    public List<LangFang> getUserName();

    //旭日图
    public List<Map<String,Object>> getXuRiTu();

    //数据库用户信息导出Excel
    public List<Map<String,Object>> getUsers();

    public User getUser2(@Param("id") int id);

    //新闻
    public List<News> getNews();

    //作品
    public List<ZuoPin> getZuoPin();

    //作品2
    public ZuoPin getZuoPin2(@Param("id") int id);


    //轮播图
    public List<Carousel> getCarousels();

    //视频
    public List<Video> getVideos();

    //视频详情
    public Video videoDatailApi(@Param("id") int id);

}
